﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Entities;

namespace Logic
{
    public class FlowerFactory
    {
        public Division Create()
        {
            Division division = new Division();

            Home home = new Home();
            home = new Home();
            home.Name = "Бегония ";
            home.Price = 200;
            home.Size = 28;
            home.NumberSheet = 3;

            division.Add(home);

            Outdoor outdoor = new Outdoor();
            outdoor = new Outdoor();
            outdoor.Name = "Гладиолус ";
            outdoor.Price = 160;
            outdoor.Humidity = 32;

            division.Add(outdoor);

            Astra astra = new Astra();
            astra = new Astra();
            astra.Name = "Астра ";
            astra.Price = 100;
            astra.Humidity = 23;
            astra.RapidtyGrowth = 3;

            division.Add(astra);

            Cactus cactus = new Cactus();
            cactus = new Cactus();
            cactus.Name = "Кактус ";
            cactus.Price = 80;
            cactus.Size = 15;
            cactus.NumberSheet = 3;
            cactus.NumberDayWithoutWater = 7;

            division.Add(cactus);

            Geran geran = new Geran();
            geran = new Geran();
            geran.Name = "Герань ";
            geran.Price = 120;
            geran.Size = 34;
            geran.NumberSheet = 15;
            geran.SizeFlowerbed = 25;

            division.Add(geran);

            Rose rose = new Rose();
            rose = new Rose();
            rose.Name = "Роза";
            rose.Price = 70;
            rose.Humidity = 36;
            rose.NumberThorns = 1;

            division.Add(rose);


            return division;
        }
    }

}

